package com.yuntsg.ruiijn.databse_search.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@TableName("customization")
@Data
@Accessors(chain = true)
public class Customization {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * rid
     */
    private Integer rid;

    /**
     * 搜索字段自定义
     */
    private String original;

    /**
     * 状态（0默认，1已选）
     */
    private Integer status;

    /**
     * 生成时间
     */
    private Long createTime;


    @TableField(exist = false)
    private List<CustomizationDetail> customizationDetails;


}






